from selenium import webdriver
import time
# 信息打印
driver = webdriver.Firefox()
driver.get("https://www.baidu.com/")
time.sleep(3)
driver.maximize_window()

title = driver.title
print(title)
url = driver.current_url
print(url)

time.sleep(6)
driver.quit()